package com.yzt.zhuju.IService.message;

import android.app.Activity;

import com.alibaba.android.arouter.facade.template.IProvider;

/**
 * @author matthewzhao
 *         created on: 2022/7/25 19:16
 *         description: 群组消息相关service
 */
public interface IGroupMessageService extends IProvider {

    /**
     * 是否开启群组消息通知
     * @param open true: 打开群组消息通知；false：关闭（免打扰）
     */
    void setGroupNotificationStatus(String groupId, boolean open, MessageCallback callback);

    /**
     * 跳转家族群组聊天页面
     * @param activity
     * @param groupId
     * @param familyName
     * @param familyId
     */
    void jumpToGroupConversion(Activity activity, String groupId, String familyName, String familyId);
}
